package com.jiyun.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.dto.StuRoomDto;
import com.jiyun.entity.StuRoom;
import com.jiyun.mapper.StuRoomMapper;
import com.jiyun.service.IStuRoomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 聪哥哥
 * @since 2023-04-18
 */
@Service
public class StuRoomServiceImpl extends ServiceImpl<StuRoomMapper, StuRoom> implements IStuRoomService {

    @Autowired
    StuRoomMapper stuRoomMapper;


    @Override
    public StuRoomDto findBySid(Integer sid) {
        return stuRoomMapper.findBySid(sid);
    }
}
